//
//  StoreDetailNaviView.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/14.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, StoreDetailNaviViewActionType) {
    StoreDetailNaviViewActionType_back,
    StoreDetailNaviViewActionType_im,
    StoreDetailNaviViewActionType_favor,
    StoreDetailNaviViewActionType_share,
};

typedef NS_ENUM(NSInteger, StoreNaviViewStatusType) {
    //透明底
    StoreNaviViewStatusType_clear,
    //白底
    StoreNaviViewStatusType_white
};

@interface StoreDetailNaviView : UIView

@property (weak, nonatomic) IBOutlet UIImageView *naviBgImageView;


@property (weak, nonatomic) IBOutlet UIButton *backBtn;
@property (weak, nonatomic) IBOutlet UIButton *favoriteBtn;
@property (weak, nonatomic) IBOutlet UIButton *shareBtn;
@property (weak, nonatomic) IBOutlet UIButton *msgBtn;

@property (nonatomic, assign) BOOL isCollect;
@property (nonatomic, assign) StoreNaviViewStatusType naviViewStatus;

@property (nonatomic, copy) void(^StoreDetailNaviViewBlock )(StoreDetailNaviViewActionType actionType);

- (void)refreshNaviFavorStatusWith:(BOOL)isCollect;

- (void)fillWithNaviStatus:(StoreNaviViewStatusType)naviViewStatus isCollect:(BOOL)isCollect alpha:(CGFloat)alpha;

@end

NS_ASSUME_NONNULL_END
